package cn.buk.api.shdl.response;

import com.alibaba.fastjson.annotation.JSONField;

public abstract class AbstractResponse {

  @JSONField(name = "IsError")
  private boolean isError;

  @JSONField(name = "ErrorCode")
  private int errorCode;

  @JSONField(name = "Message")
  private String message;

  @JSONField(name = "ReqGuid")
  private String requestGuid;


  public int getErrorCode() {
    return errorCode;
  }

  public void setErrorCode(int errorCode) {
    this.errorCode = errorCode;
  }

  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }

  public String getRequestGuid() {
    return requestGuid;
  }

  public void setRequestGuid(String requestGuid) {
    this.requestGuid = requestGuid;
  }

  public boolean isError() {
    return isError;
  }

  public void setError(boolean error) {
    isError = error;
  }
}
